package com.zyong.encryption.server.configuration;

import org.springframework.context.annotation.Bean;
import com.zyong.encryption.server.config.NettyConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Configuration
public class NettyConfiguration {
    @Bean
    @ConfigurationProperties("encryption.server.netty")
    public NettyConfig getNettyConfig() {
        return new NettyConfig();
    }

}
